package com.hgts.mapper;

import com.hgts.pojo.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 凡哥哥
 * @since 2023-05-14
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {
    @Select("select * from sys_comment where comment_id = #{commentId}")
    Comment getById(Long commentId);
}
